package com.qumitech.visualnovel.pubdef.dto.voiceroom;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;

public class VoiceRoomRebateConfigDTO {

    private long id;
    @JSONField(name="room_id")
    private String roomId;
    @JSONField(name="rebate_for")
    private byte rebateFor;
    @JSONField(name="from_amount")
    private long fromAmount;
    @JSONField(name = "to_amount")
    private long toAmount;
    private BigDecimal ratio;

    public void setId(long id) {
        this.id = id;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public void setRebateFor(byte rebateFor) {
        this.rebateFor = rebateFor;
    }

    public void setFromAmount(long fromAmount) {
        this.fromAmount = fromAmount;
    }

    public void setToAmount(long toAmount) {
        this.toAmount = toAmount;
    }

    public void setRatio(BigDecimal ratio) {
        this.ratio = ratio;
    }

    public long getId() {
        return id;
    }

    public String getRoomId() {
        return roomId;
    }

    public byte getRebateFor() {
        return rebateFor;
    }

    public long getFromAmount() {
        return fromAmount;
    }

    public long getToAmount() {
        return toAmount;
    }

    public BigDecimal getRatio() {
        return ratio;
    }
}
